﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace DDOS.Objects
{

    abstract class Projectile : GameObject
    {
        public int damage;
        protected int speed;
        protected int life_time;
        //protected Vector2 velocity;
        protected Vector2 target;

        public override void Update(GameTime game_time)
        {
            this.coordinates += velocity;
        }


        public abstract void fire();
        
    }
}
